package com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.mapper;

import com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities.FlowProcessInstanceTrace;
import com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities.FlowProcessInstanceTraceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FlowProcessInstanceTraceDAO {
    long countByExample(FlowProcessInstanceTraceExample example);

    int deleteByExample(FlowProcessInstanceTraceExample example);

    int deleteByPrimaryKey(String id);

    int insert(FlowProcessInstanceTrace record);

    int insertSelective(FlowProcessInstanceTrace record);

    List<FlowProcessInstanceTrace> selectByExample(FlowProcessInstanceTraceExample example);

    FlowProcessInstanceTrace selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") FlowProcessInstanceTrace record, @Param("example") FlowProcessInstanceTraceExample example);

    int updateByExample(@Param("record") FlowProcessInstanceTrace record, @Param("example") FlowProcessInstanceTraceExample example);

    int updateByPrimaryKeySelective(FlowProcessInstanceTrace record);

    int updateByPrimaryKey(FlowProcessInstanceTrace record);
}